import Loadable from 'react-loadable'
import { loading } from '../loading'

const BooksShow = Loadable({
  loader: () => import('./BooksShow'),
  loading: loading
})

const News = Loadable({
  loader: () => import('./News'),
  loading: loading
})

const Dashboard = Loadable({
  loader: () => import('./Dashboard'),
  loading: loading
})

export { BooksShow, News, Dashboard }
